package com.financing.platform.dao;

import java.sql.SQLException;
import java.util.List;

import com.financing.platform.dto.ProductRecommendDTO;
import com.financing.platform.vo.EmailTemplateProjectVO;

public interface IProductRecommendDao extends IBaseDao{

	/**
	 * 
	* @Title: addProductRecommend 
	* @Description: 添加产品推荐
	* @param   productRecommendDto
	* @return Integer   
	* @throws
	 */
	public Integer addProductRecommend(ProductRecommendDTO productRecommendDto);
	
	/**
	 * 
	* @Title: queryProductRecommendList 
	* @Description: 查询产品推荐信息
	* @param   productRecommendDto
	* @return List<ProductRecommendDTO>   
	* @throws
	 */
	public List<ProductRecommendDTO> queryProductRecommendList(ProductRecommendDTO productRecommendDto);
	
	/**
	 * 
	* @Title: deleteProductRecommend 
	* @Description:  删除产品推荐信息
	* @param   projectId
	* @param @throws SQLException    
	* @return int   
	* @throws
	 */
	public int deleteProductRecommend(ProductRecommendDTO productRecommendDto) throws SQLException;
	
	/**
	 * 
	 * @Title: getEmailTemplateProjectList
	 * @Description: 查询邮件推荐产品 
	 * @param @param limit
	 * @param @return   
	 * @return List<EmailTemplateProjectVO>   
	 * @throws
	 */
	public List<EmailTemplateProjectVO> getEmailTemplateProjectList(Integer limit) throws SQLException;
	
	/**
	 * 
	 * @Title: queryEmailProjectList
	 * @Description: 查询邮件推荐产品 
	 * @param @param limit
	 * @param @return
	 * @param @throws SQLException   
	 * @return List<EmailTemplateProjectVO>   
	 * @throws
	 */
	public List<EmailTemplateProjectVO> queryEmailProjectList(Integer limit) throws SQLException;
}
